package com.jackhu.pattern.proxy.staticproxy;

import com.jackhu.pattern.proxy.Person;

/**
 * Created by jackhu on 2019/3/10.
 */
public class Father implements Person {
    private Son person;

    public Father(Son person) {
        this.person = person;
    }

    @Override
    public void findLove() {
        System.out.println("父亲物色对象");
        this.person.findLove();
        System.out.println("双方父母同意，确立关系");
    }

    public void findJob() {

    }


}
